package cn.getech.data.metadata.mapper;

import cn.getech.data.metadata.entity.CollectionNotificationUser;
import cn.getech.system.center.entity.SysUserEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CollectionNotificationUserMapper extends BaseMapper<CollectionNotificationUser> {

  /**
   * 依照邮箱查询 用户信息
   * @param email
   * @return
   */
  SysUserEntity queryUserByemail(String email);

  /**
   * 依照账号用户名查询用户信息
   * @param
   * @return
   */
  SysUserEntity queryUserByName(String username);
}
